import matplotlib.pyplot as plt
import numpy as np

x = np.linspace(0, 5, 10)
y = x**2
plt.plot(x, y)
plt.title('sample plot')
plt.xlabel('x axis')
plt.ylabel('y axis')
plt.show()
